package com.mx.ymate.modbus.bean;

/**
 * @Author: xujianpeng.
 * @Date 2025/11/10.
 * @Time: 15:47.
 * @Description:
 */
public class DeviceRange {

    public final String deviceId;
    public final int startAddress;
    public final int size;

    public DeviceRange(String deviceId, int startAddress, int size) {
        this.deviceId = deviceId;
        this.startAddress = startAddress;
        this.size = size;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public int getStartAddress() {
        return startAddress;
    }

    public int getSize() {
        return size;
    }
}
